/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projekt;

/**
 * abstract superclass to all creatures that contains common variables and
 * methods.
 */
public abstract class Creature extends LevelObject {

    /**
     * Health points.
     */
    private int hp;
    /**
     * Attack Damage.
     */
    private int attackDmg;
    /**
     * Armor Value.
     */
    private int armor;
    /**
     * Gold carried.
     */
    private int gold;
    /**
     * Experience Points.
     */
    private int xp;
    /**
     * Name of creature.
     */
    private String name;

    /**
     * Gets the name of the creature.
     *
     * @return = Name.
     */
    public final String getName() {
        return name;
    }

    /**
     * Sets the name of the creature.
     *
     * @param nameX = the name.
     */
    public final void setName(final String nameX) {
        this.name = nameX;
    }

    /**
     * @return the Health points.
     */
    public final int getHp() {
        return hp;
    }

    /**
     * @param hpX the Health points. to set
     */
    public final void setHp(final int hpX) {
        this.hp = hpX;
    }

    /**
     * @return the attackDmg
     */
    public final int getAttackDmg() {
        return attackDmg;
    }

    /**
     * @param attackDmgX the attackDmg to set
     */
    public final void setAttackDmg(final int attackDmgX) {
        this.attackDmg = attackDmgX;
    }

    /**
     * @return the armor
     */
    public final int getArmor() {
        return armor;
    }

    /**
     * @param armorX the armor to set
     */
    public final void setArmor(final int armorX) {
        this.armor = armorX;
    }

    /**
     * @return the gold
     */
    public final int getGold() {
        return gold;
    }

    /**
     * @param goldX the gold to set
     */
    public final void setGold(final int goldX) {
        this.gold = goldX;
    }

    /**
     * @return the xp
     */
    public final int getXp() {
        return xp;
    }

    /**
     * @param xpX the xp to set
     */
    public final void setXp(final int xpX) {
        this.xp = xpX;
    }
}
